﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Furion.CMS.Application.Dto
{
    /// <summary>
    /// 用户会话数据传输对象
    /// </summary>
    public class UserSession
    {
        /// <summary>
        /// 构造函数
        /// </summary>
        public UserSession()
        {
            Permissions = new List<string>();
        }

        /// <summary>
        /// 昵称
        /// </summary>
        public string NickName { get; set; }
        /// <summary>
        /// 头像
        /// </summary>
        public string Avatar { get; set; }
        /// <summary>
        /// 权限标识
        /// </summary>
        public IEnumerable<string> Permissions { get; set; }
    }
}
